<template>
  <div class="right_title">
    <div>{{ titleName }}</div>
    <div>
      <slot name="rightTitle" />
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      titleName: "",
    };
  },
  created() {
    this.titleName = this.$route.meta.title;
  },
};
</script>

<style lang="scss" scoped>
// @import "@/styles/element-variables.scss";
.right_title {
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-size: 18px;
  padding: 0 30px;
  /* background-color: #374492; */
  // @include background_color("table-top-title");
  // @include font_color("table-top-title-color");
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: -10px;
  font-size: 14px;
}
</style>
